print("===============================算数运算符===============================")
a = 21
b = 10

print(f"加法 a + b = {a + b}")
print(f"减法 a - b = {a - b}")
print(f"乘法 a * b = {a * b}")
print(f"除法 a / b = {a / b}")
print(f"余数 a % b = {a % b}")
print(f"幂  a ** b = {a ** b}")
print(f"整除 a // b = {a // b}")

print("===============================赋值运算符===============================")

c1 = 10
c1 = c1 + 5
c2 = 10
c2 += 5

print(f"c1的值是:{c1} c2的值是:{c2}")


print("===============================比较运算符===============================")

print(f"运算符 == : {1==2}")
print(f"运算符 != : {1!=2}")

print("===============================逻辑运算符===============================")

x = True
y = False
print(f"原始值 x:{x} y:{y}")
print(f"x and y = {x and y}")
print(f"x or y = {x or y}")
print(f"not x = {not x}")
print(f"not y = {not y}")
